package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@TableName("ve_oa_meet_announce")
@Accessors(chain = false)
@EqualsAndHashCode(callSuper = false)
public class VeOaMeetAnnounceEntity {
    @ApiModelProperty(value = "会议通知id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "会议id")
    @TableField(value = "meet_id")
    private Integer meetId;

    @ApiModelProperty(value = "会议名称")
    @TableField(value = "meet_name")
    private String meetName;

    @ApiModelProperty(value = "通知标题")
    @TableField(value = "title")
    private String title;

    @ApiModelProperty(value = "通知内容")
    @TableField(value = "content")
    private String content;

    @ApiModelProperty(value = "创建人id")
    @TableField(value = "create_by")
    private String createBy;

    @ApiModelProperty(value = "创建人名称")
    @TableField(value = "create_name")
    private String createName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改人id")
    @TableField(value = "update_by")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /*删除标识*/
    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableLogic
    private Integer isDeleted;

    /*终端ID*/
    @ApiModelProperty(value = "终端ID")
    @TableField(value = "terminalId")
    private Long terminalId;
}
